﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ATui
{
    abstract class WorkFlow
    {
        // declare sendAtcmd class
        private sendATcmd AtCmdAction;

        // declare atCmd
        private string _atCmd;
        private string atCmd
        {
            get
            {
                return _atCmd;
            }
            set
            {
                _atCmd = value;
            }
        }

        // declare is hex command or not
        private bool _isHex;
        private bool isHex
        {
            get
            {
                return _isHex;
            }
            set
            {
                _isHex = value;
            }
        }

        private void ATcmd(string str_cmd)
        {
            atCmd = str_cmd;
        }

        private void Begin()
        {
            AtCmdAction.sendSerialAtCmd(atCmd, false);
        }

        private void End()
        {
        }

        private void Next()
        {
        }

        private void Previous()
        {
        }

        private void Error()
        {
        }
    }
}
